package com.bootcamp.sb1126yml.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: spring-boot
 * @description:
 * @author: Keyu Li
 * @create: 2021-11-26 11:28
 **/

@Data
@Component
@ConfigurationProperties(prefix = "c.datasource")
public class DataSourcePropertiesC {
    String name;
    String url;
    String username;
    String password;
}
